<!--{template "topic_header"}-->
<!--{eval SetADV('tag_view','header');}-->
<div class="main">  
<div class="mainWrap">
<!--{if $tag_extra}-->
	<!--{if $tag_extra[left_top_image][enable] && $tag_extra[left_top_image][src]}-->
		<div class="Group_top">
		<!--{if $tag_extra[left_top_image][link]}-->
			<a target="_blank" href="{$tag_extra[left_top_image][link]}"><img style="border:none;width:590px;" src="{$tag_extra[left_top_image][src]}" /></a>
		<!--{else}-->
			<img style="border:none;width:590px;" src="{$tag_extra[left_top_image][src]}" />
		<!--{/if}-->
		</div>
	<!--{/if}-->
	
	<!--{if $tag_extra[left_top_text][enable]}-->
		<div class="Group_intro">
		<!--{if $tag_extra[left_top_text][title]}-->
			<h3>{$tag_extra[left_top_text][title]}</h3>
		<!--{/if}-->
		<!--{if $tag_extra[left_top_text][content]}-->
			{$tag_extra[left_top_text][content]}
		<!--{/if}-->
		</div>
	<!--{/if}-->
<!--{/if}-->


<!--{template "topic_publish"}-->  

<div class="slide"></div>

<script language="Javascript">
function listTopic( s,lh ) {	
	var s = 'undefined' == typeof(s) ? 0 : s;
	var lh = 'undefined' == typeof(lh) ? 1 : lh;
	if(lh) {
		window.location.hash="#listTopicArea";
	}

    $("#listTopicMsgArea").html("<div><center><span class='loading'>内容正在加载中，请稍候……</span></center></div>");
	var myAjax = $.post(
		"ajax.php?mod=topic&code=list",
		{
			<!--{loop $params $k $v}-->
			{$k}:"{$v}",
			<!--{/loop}-->
			start:s
		},
		function (d) {
			$("#listTopicMsgArea").html('');
			$("#listTopicArea").html(d);			
		}
	);
}
</script>
<div class="listBox">
<!--导航 Begin-->
<!--{eval $__code=urlencode($this->Code);}-->
<div class="topicNav">
		<div class="nfTagB">
			<ul> 
				<!--{eval if($this->Get['view'] == '')$def="current";}-->
				<li class="{$def}">
					<span id="follow_menu_wp">
						<a title="最新{$this->Config[changeword][n_weibo]}" href="index.php?mod=tag&code={$__code}">最新{$this->Config[changeword][n_weibo]}</a>
                        <em class="navNew"></em>
					</span>
				</li>
				<!--{eval if($this->Get['view'] == 'recd')$recd="current";}-->
				<li class="{$recd}">
				<span id="qun_menu_wp">
                <a class="wp_id" title="官方推荐" href="index.php?mod=tag&code={$__code}&view=recd">官方推荐</a>
                </span>
				</li>
			</ul>
			<div class="clear"></div>
		</div>
		<div class="groupBg index_m">
			<div class="left">
				<!--话题筛选 Begin-->

				<!--{eval if(empty($this->Get[type])) 	$all = "current";}-->
				<!--{eval if($this->Get[type] == 'pic') 	$pic = "current";}-->
				<!--{eval if($this->Get[type] == 'video') $video = "current";}-->
				<!--{eval if($this->Get[type] == 'music') $music = "current";}-->
				<!--{eval if($this->Get[view]) $__view = '&view='.$this->Get[view];}-->
				<a title="全部" href="{$type_url}" class="{$all}">全部</a>
				<a title="含图片" href="{$type_url}&type=pic" class="{$pic}">图片</a>
				<a title="含视频" href="{$type_url}&type=video" class="{$video}">视频</a>
				<a title="含音乐" href="{$type_url}&type=music" class="{$music}">音乐</a>
				<!--话题筛选 End-->
			</div>
			<div class="clear"></div>
		</div>
<!--导航 End-->

</div>
<div id="listTopicMsgArea"></div>
<div id="listTopicArea">
<!--列表开始-->
<div class="Listmain">
<!--{if $topic_list}-->
<!--{loop $topic_list $val}-->	
<div class="feedCell" id="topic_list_{$val[tid]}">
	<!--{if $this->Config[ad][enable]}-->
		<!--{eval $_jflwjif_counts++;}-->
		<!--{if 5==$_jflwjif_counts && $this->Config[ad][ad_list][tag_view][middle_center1]}-->
		<!--{eval SetADV('tag_view','middle_center1');}-->
		<!--{/if}-->
	<!--{/if}-->
	{template "topic_item_ajax"}
</div>
<!--{/loop}-->
<!--{if $page_arr[html]}-->
  <div class="pageStyle">
	<li>{$page_arr[html]}</li>
  </div>
<!--{/if}-->
<!--{else}-->
<div>
		<BR />
		<span>没有找到相关的内容</span>
</div>
<!--{/if}-->
</div>
</div>
</div>
</div>

{template "tag_right.inc"}

</div>
<!--{if $this->Config[ad_enable] && $this->Config[ad][ad_list][tag_view][footer]}-->
<!--{eval SetADV('tag_view','footer');}-->
<!--{/if}-->

<!--{template "topic_footer"}-->